From: Chong Yidong Date: Sat, 27 Jun 2009 19:50:50 +0000 (+0000) Subject: * frame.c (x_get_arg): Check if dpyinfo is non-NULL. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~11774 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9a790373c6a6a6a1f4ad32efe7f478ab16d0eda8;p=emacs.git * frame.c (x_get_arg): Check if dpyinfo is non-NULL. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3ad549216d1..76ac36c4a5f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2009-06-27 Chong Yidong + * frame.c (x_get_arg): Check if dpyinfo is non-NULL. + * xdisp.c (mouse_face_from_buffer_pos): Fix detection of truncation glyphs (Bug#3686). diff --git a/src/frame.c b/src/frame.c index 10713826b50..9e05b1b8456 100644 --- a/src/frame.c +++ b/src/frame.c @@ -4009,7 +4009,7 @@ x_get_arg (dpyinfo, alist, param, attribute, class, type) look in the X resources. */ if (EQ (tem, Qnil)) { - if (attribute) + if (attribute && dpyinfo) { tem = display_x_get_resource (dpyinfo, build_string (attribute),